const mongoose = require('mongoose')
const Schema = mongoose.Schema
const { ObjectId, Array, String, Boolean } = Schema.Types

const Admin = Schema({
    adminname: String,
    password: String,
    // true是超级管理员，false为普通管理员
    type: Boolean,
    author: Array,
    freeze:Boolean
})

module.exports = Admin
